//
//  MovieBuyViewController.m
//  product_B
//
//  Created by zyc on 16/6/2.
//  Copyright © 2016年 lanou. All rights reserved.
//

#import "MovieBuyViewController.h"

@interface MovieBuyViewController ()
@property (nonatomic, strong)UIWebView *webView;
@end

@implementation MovieBuyViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    
    _webView = [[UIWebView alloc]initWithFrame:CGRectMake(0, 0, kWidth, kHeight)];
    self.navigationItem.title = @"购票";
    [self.view addSubview:_webView];
    
    NSString *urlSting = [NSString stringWithFormat:@"http://m.gewara.com/movie/m/choiceCinema.xhtml?from=oneApp&mid=%@",_movie_id];
    [_webView loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:urlSting]]];
    
    
    
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
